package biz.microplus.information.bean;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 广告数据模型
 */
@Entity
public class ADBean extends BaseBean {
    /**
     * 标识
     */
    @Id
    private int id;
    /**
     * 广告位ID
     */
    private int positionId;
    /**
     * 广告标题
     */
    private String title;
    /**
     * 资源地址，如图片、视频等
     */
    private String resUrl;
    /**
     * 跳转地址
     */
    private String url;
    /**
     * 当前状态
     */
    private String status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 排序值
     */
    private short sort;
    /**
     * 操作人ID
     */
    private int userId;
    /**
     * 总点击量
     */
    private int clickTotal;
    /**
     * 开始时间戳
     */
    private int beginAt;
    /**
     * 结束时间戳
     */
    private int expiresAt;
    /**
     * 删除时间戳
     */
    private int deletedAt;
    /**
     * 创建时间戳
     */
    private int createdAt;

    /**
     * 更新时间戳
     */
    private int updatedAt;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPositionId() {
        return positionId;
    }

    public void setPositionId(int positionId) {
        this.positionId = positionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public short getSort() {
        return sort;
    }

    public void setSort(short sort) {
        this.sort = sort;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getClickTotal() {
        return clickTotal;
    }

    public void setClickTotal(int clickTotal) {
        this.clickTotal = clickTotal;
    }

    public int getBeginAt() {
        return beginAt;
    }

    public void setBeginAt(int beginAt) {
        this.beginAt = beginAt;
    }

    public int getExpiresAt() {
        return expiresAt;
    }

    public void setExpiresAt(int expiresAt) {
        this.expiresAt = expiresAt;
    }

    public int getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(int deletedAt) {
        this.deletedAt = deletedAt;
    }

    public int getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(int createdAt) {
        this.createdAt = createdAt;
    }

    public int getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(int updatedAt) {
        this.updatedAt = updatedAt;
    }
}